home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
LANG
/
GNUST
/
test
/
floatmath
< prev
next >
Wrap
Text File
|
1991-09-13
|
603b
|
49 lines
"Test floating point operations"
"======================================================================
|
| Copyright (C) 1988, 1989 Steven B. Byrne.
| All rights reserved.
|
======================================================================"
^3.1!
^3.45!
^3.0e4!
^3.45e4!
^3.4 + 4.3!
^-5.5 - 3.12!
^5.6 < 5.5!
^5.5 < 5.6!
^5.6 > 5.5!
^5.5 > 5.6!
^3.4 <= 3.4!
^3.6 >= 2.5!
^3.12345 = 3.12345!
^4.5 ~= 5.67!
^4.5 * 0.0004!
^4.5 / 0.0004!
^3.14159 truncated!
^3.1415926535 fractionPart!
^4523.234 exponent!
^45.0 timesTwoPower: 4!
^45.0 timesTwoPower: -4!
" ### need more tests"